<!-- 我的表格 -->

<template>
  <WebTable>
    <RowIndex />

    <RowTitle :label="`${MAP.NAME}单号`" bind="recordCode" />

    <RowTime :label="`${MAP.NAME}时间`" bind="recordTime" />

    <RowText :label="`${MAP.NAME}仓库`" bind="warehouseName" />

    <RowText :label="`${MAP.NAME}类型`" bind="recordTypeName" />

    <RowChildren label="备品名称" bind="content" nameKey="spare.spareName" />

    <RowChildren label="规格型号" bind="content" nameKey="spare.model" />

    <RowChildren :label="`${MAP.NAME}数量`" bind="content" nameKey="operateNum" />

    <RowText label="入库人员" bind="applyUserName" />

    <RowTree v-if="MAP.TAG === 'out'" :label="`领用${CORE.MAP.ORGAN}`" bind="organId" :dict="CORE.ORGAN.DICT" />

    <RowText label="备注" bind="applyReason" />

    <RowOperate :btns="['del']" :width="80" />
  </WebTable>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导入组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'MyTable',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb()],
}
</script>
